package com.source.lightfowl.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: xcy
 * @Date:Create：in 2020/3/16 21:54
 * @Description: 脚标机回收
 */
@Data

public class BarcodeMachineRecoveryVO {


    private int id;
    private int barcodeMachineId; //脚标机id
    private int stallsId; //档口id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date recoveryDate;  //回收时间 需要前端传递参数
//    private int recoveryPersonId; //回收人员id
//    private int sendBackPersonId; //送回人员id
    private String recoveryPersonId; //回收人员id
    private String sendBackPersonId; //送回人员id
    private double deposit; //退回押金
    private String createBy; //创建者
    private LocalDateTime createTime; //创建时间 自动赋值
    private String status; //脚标机状态 0：正常 1：故障
    private String msg; //维修备注

    //优化
    private String recyclingName; //回收名
    private String sendName; //送回名


    private String createName;

}
